package test;

import anno.ORMMapper;
import anno.ORMParam;
import anno.ORMSelect;

@ORMMapper("test.User")
public interface UserDao {

   @ORMSelect("select * from user where id = ?")
    public User selectById(int id);

   @ORMSelect("select * from user")
    public User selectUser(@ORMParam("id") int id, @ORMParam("age") int age);
}


